Integrand size = 14, antiderivative size = 69 \[ \int \frac {1}{(3+3 \sin (e+f x))^{3/2}} \, dx=-\frac {\text {arctanh}\left (\frac {\sqrt {\frac {3}{2}} \cos (e+f x)}{\sqrt {3+3 \sin (e+f x)}}\right )}{6 \sqrt {6} f}-\frac {\cos (e+f x)}{2 f (3+3 \sin (e+f x))^{3/2}} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.12, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {2729, 2728, 212} \[ \int \frac {1}{(3+3 \sin (e+f x))^{3/2}} \, dx=-\frac {\text {arctanh}\left (\frac {\sqrt {a} \cos (e+f x)}{\sqrt {2} \sqrt {a \sin (e+f x)+a}}\right )}{2 \sqrt {2} a^{3/2} f}-\frac {\cos (e+f x)}{2 f (a \sin (e+f x)+a)^{3/2}} \]
[In]
[Out]
Rule 212
Rule 2728
Rule 2729
Rubi steps \begin{align*} \text {integral}& = -\frac {\cos (e+f x)}{2 f (a+a \sin (e+f x))^{3/2}}+\frac {\int \frac {1}{\sqrt {a+a \sin (e+f x)}} \, dx}{4 a} \\ & = -\frac {\cos (e+f x)}{2 f (a+a \sin (e+f x))^{3/2}}-\frac {\text {Subst}\left (\int \frac {1}{2 a-x^2} \, dx,x,\frac {a \cos (e+f x)}{\sqrt {a+a \sin (e+f x)}}\right )}{2 a f} \\ & = -\frac {\text {arctanh}\left (\frac {\sqrt {a} \cos (e+f x)}{\sqrt {2} \sqrt {a+a \sin (e+f x)}}\right )}{2 \sqrt {2} a^{3/2} f}-\frac {\cos (e+f x)}{2 f (a+a \sin (e+f x))^{3/2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.21 (sec) , antiderivative size = 111, normalized size of antiderivative = 1.61 \[ \int \frac {1}{(3+3 \sin (e+f x))^{3/2}} \, dx=\frac {\left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (-\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )+(1+i) (-1)^{3/4} \text {arctanh}\left (\left (\frac {1}{2}+\frac {i}{2}\right ) (-1)^{3/4} \left (-1+\tan \left (\frac {1}{4} (e+f x)\right )\right )\right ) (1+\sin (e+f x))\right )}{6 \sqrt {3} f (1+\sin (e+f x))^{3/2}} \]
[In]
[Out]
Time = 0.87 (sec) , antiderivative size = 125, normalized size of antiderivative = 1.81
method | result | size |
default | \(-\frac {\left (\sqrt {2}\, \operatorname {arctanh}\left (\frac {\sqrt {a -a \sin \left (f x +e \right )}\, \sqrt {2}}{2 \sqrt {a}}\right ) a^{2} \sin \left (f x +e \right )+2 \sqrt {a -a \sin \left (f x +e \right )}\, a^{\frac {3}{2}}+\sqrt {2}\, \operatorname {arctanh}\left (\frac {\sqrt {a -a \sin \left (f x +e \right )}\, \sqrt {2}}{2 \sqrt {a}}\right ) a^{2}\right ) \sqrt {-a \left (\sin \left (f x +e \right )-1\right )}}{4 a^{\frac {7}{2}} \cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}\) | \(125\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 252 vs. \(2 (62) = 124\).
Time = 0.29 (sec) , antiderivative size = 252, normalized size of antiderivative = 3.65 \[ \int \frac {1}{(3+3 \sin (e+f x))^{3/2}} \, dx=\frac {\sqrt {2} {\left (\cos \left (f x + e\right )^{2} - {\left (\cos \left (f x + e\right ) + 2\right )} \sin \left (f x + e\right ) - \cos \left (f x + e\right ) - 2\right )} \sqrt {a} \log \left (-\frac {a \cos \left (f x + e\right )^{2} - 2 \, \sqrt {2} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {a} {\left (\cos \left (f x + e\right ) - \sin \left (f x + e\right ) + 1\right )} + 3 \, a \cos \left (f x + e\right ) - {\left (a \cos \left (f x + e\right ) - 2 \, a\right )} \sin \left (f x + e\right ) + 2 \, a}{\cos \left (f x + e\right )^{2} - {\left (\cos \left (f x + e\right ) + 2\right )} \sin \left (f x + e\right ) - \cos \left (f x + e\right ) - 2}\right ) + 4 \, \sqrt {a \sin \left (f x + e\right ) + a} {\left (\cos \left (f x + e\right ) - \sin \left (f x + e\right ) + 1\right )}}{8 \, {\left (a^{2} f \cos \left (f x + e\right )^{2} - a^{2} f \cos \left (f x + e\right ) - 2 \, a^{2} f - {\left (a^{2} f \cos \left (f x + e\right ) + 2 \, a^{2} f\right )} \sin \left (f x + e\right )\right )}} \]
[In]
[Out]
\[ \int \frac {1}{(3+3 \sin (e+f x))^{3/2}} \, dx=\int \frac {1}{\left (a \sin {\left (e + f x \right )} + a\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {1}{(3+3 \sin (e+f x))^{3/2}} \, dx=\int { \frac {1}{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 133 vs. \(2 (62) = 124\).
Time = 0.35 (sec) , antiderivative size = 133, normalized size of antiderivative = 1.93 \[ \int \frac {1}{(3+3 \sin (e+f x))^{3/2}} \, dx=\frac {\sqrt {2} {\left (\frac {\log \left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1\right )}{a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} - \frac {\log \left (-\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1\right )}{a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} - \frac {2 \, \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )}{{\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - 1\right )} a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}\right )}}{8 \, \sqrt {a} f} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{(3+3 \sin (e+f x))^{3/2}} \, dx=\int \frac {1}{{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{3/2}} \,d x \]
[In]
[Out]